/*
 * Project Name: jmax
 * File Name: Client.java
 * Copyright: Copyright(C) 1985-2015 ZKTeco Inc. All rights reserved.
 */
package com.xdtech.hotel.monitor;

/**
 * 
 * @version TODO 添加版本
 * @see 相关类或方法，不需要请删除此行
 * @since 2015-4-23 上午9:41:57
 */
public abstract class Client
{
	protected String id;
	protected long creationTime;
	protected long lastAccessedTime;
	
	public Client()
	{
		super();
	}
	
	public Client(String id)
	{
		super();
		this.id = id;
		this.creationTime = System.currentTimeMillis();
	}

	public Client(String id, long creationTime, long lastAccessedTime)
	{
		super();
		this.id = id;
		this.creationTime = creationTime;
		this.lastAccessedTime = lastAccessedTime;
	}


	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public long getCreationTime()
	{
		return creationTime;
	}
	public void setCreationTime(long creationTime)
	{
		this.creationTime = creationTime;
	}
	public long getLastAccessedTime()
	{
		return lastAccessedTime;
	}
	public void setLastAccessedTime(long lastAccessedTime)
	{
		this.lastAccessedTime = lastAccessedTime;
	}
	
	
}
